﻿namespace StudyCompanion.Core.Models;

/// <summary>
///     用于解决简单类型传值
/// </summary>
/// <typeparam name="T"></typeparam>
[Serializable]
public class SimpleDto<T>
{
    public SimpleDto(T value)
    {
        Value = value;
    }

    /// <summary>
    ///     需要传递的值
    /// </summary>
    public T Value { get; set; }
}